/*
 * Copyright 2021 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@mixin ProgressStepper {
  .kui--progress-stepper {
    @content;
  }
}

@mixin ProgressStep {
  .kui--progress-step {
    @content;
  }
}

@mixin Optional {
  &[data-optional] {
    @content;
  }
}

@mixin Connector {
  .pf-c-progress-stepper__step-connector {
    @content;
  }
}

@mixin ConnectorUI {
  @include Connector {
    &:before {
      @content;
    }
  }
}

@mixin Title {
  .pf-c-progress-stepper__step-title {
    @content;
  }
}

@mixin Description {
  .pf-c-progress-stepper__step-description {
    @content;
  }
}

@mixin Minor {
  &.pf-m-minor {
    @content;
  }
}

@mixin NotBlank {
  &:not(.pf-m-blank) {
    @content;
  }
}

@mixin Blank {
  &.pf-m-blank {
    @content;
  }
}

@mixin Success {
  &.pf-m-success {
    @content;
  }
}

@mixin Warning {
  &.pf-m-warning {
    @content;
  }
}

@mixin Error {
  &.pf-m-error {
    @content;
  }
}

@mixin Icon {
  .pf-c-progress-stepper__step-icon {
    @content;
  }
}

@mixin IconLink {
  .kui--progress-step-status-icon-link {
    @content;
  }
}

@mixin Main {
  .pf-c-progress-stepper__step-main {
    @content;
  }
}
